import { GET, POST, POST_JSON,FILE } from '@/utils/http.js'
//token 存储数据统计token
export const getTokenData = (data) => {
    return GET('/ajax/dataVisitLog/getToken', data)
}
export const getPushData = (data) => {
    return GET('/ajax/dataVisitLog/saveVisit', data)
}
export const getSlideShows = (data) => {
    return GET('/newMobile/content/getSlideShows', data)
};
export const getUploadImage = (data) => {
    return FILE('/common/file/uploadImage', data)
};
export const checkImage = (data) => {
    return POST(`/common/captcha/checkImage`,data)
}

// 公众号微信分享配置 -- 获取config
export const wxConfig = (data) => {
    return POST(`/WeChat/config`, data)
}

// 广告位
export const getAdList = (data) => {
    return GET('/ad/getAdList', data)
};

// 检查账号状态是否有更新
export const checkUserStatus = (data) => {
    return GET(`/user/getUserCompanyStoreInfoByUserId`, data)
}
